﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Query.aspx.cs" Inherits="Query" %>
<%--根据文件名查询文件--%>
<%@ Reference Page="Default.aspx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
	<div class="Query">
		<%--左边--%>
		<div style="width: 225px; float: left; border: 0px solid black; margin-top: 10px;">

			<%--文件查询--%>
			<div class="ShowColumnFile2" style="margin-top: 0px !important;">
				<div class="Title">
					<label>站内搜索</label>
				</div>
				<div class="Content" style="height: 150px;">
					
						<%--<label>文件名：</label>--%>
						
						<asp:TextBox runat="server" CssClass="InputControl" ID="TbQueryName"></asp:TextBox>
						
						<%--<asp:Button runat="server" ID="" Text="查询" CssClass="QueryButton" />--%>
						<asp:LinkButton runat="server" ID="BtnQuery" Text="搜索" CssClass="QueryButton"></asp:LinkButton>
					
				</div>
			</div>
		</div>

		<%--右边--%>
		<div style="width: 740px; float: right; border: 0px solid black; margin-top: 10px;">
			<div class="ShowColumnFile">
				<div class="Title">
					<div class="Left">
						<label>文件搜索</label>
					</div>
					<div class="Right"></div>
				</div>
				<div class="Content" style="width: 738px !important;">
					<div class="Table">
						<asp:GridView runat="server" ID="Grv" CssClass="ShowFileTable">
							<Columns>
								<asp:TemplateField ItemStyle-CssClass="First">
									<ItemTemplate>
										<asp:Image ID="Image1" runat="server" CssClass="Pic" />
									</ItemTemplate>
								</asp:TemplateField>
								<asp:BoundField DataField="FileName" ItemStyle-CssClass="Second" />
								<asp:BoundField DataField="Date" ItemStyle-CssClass="Date" />
							</Columns>
						</asp:GridView>
					</div>
					<div class="Bottom">
						<div class="Page">
							<asp:LinkButton ID="LBtnFirst" runat="server" Text="第一页"></asp:LinkButton>
							<asp:LinkButton ID="LBtnForward" runat="server" Text="上一页"></asp:LinkButton>
							<asp:LinkButton ID="LBtnNext" runat="server" Text="下一页"></asp:LinkButton>
							<asp:LinkButton ID="LBtnLast" runat="server" Text="最后一页"></asp:LinkButton>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</asp:Content>

